package com.hliushi.bookmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hliushi.bookmanager.pojo.Reader;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ReaderMapper extends BaseMapper<Reader> {

    List<Reader> getAllReader();

    String getReaderName(String readerId);


    Reader getReaderInfo(String readerId);

    void updateInfo(Reader reader);
}